/*
 * Copyright (c) 2008-2021 浩瀚深度 All Rights Reserved.
 *
 * <p>FileName: SyslogConfig.java</p>
 *
 * @author zz
 * @date 2024/3/11
 * @version 1.0
 * History:
 * v1.0.0 2024/3/11 Create
 */
package com.jason.zax.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;

/**
 * <p>Title: SyslogConfig</p>
 * <p>Description: </p>
 *
 * @author zz
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "monitor")
public class SyslogConfig {
    private List<SyslogInfo> syslog;

    @Data
    public static class SyslogInfo {
        private String name;
        private Integer syslogId;
        /**
         * 需要符合指定格式
         */
        private String objId;
        private String alarmOn;
        private String alarmOff;
    }
}
